package com.hlkj.pay.vo.admin.req.role;

import com.hlkj.pay.vo.BaseReq;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author HlpayTeam
 * @date 2024/09/10 14:50
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RolePermissionReq extends BaseReq {
    
    
    @Schema(description ="角色编码")
    @Size(max = 64)
    @NotBlank
    private String code;
    @Schema(description ="角色编码")
    private Integer sysType;
    
    @Schema(description ="权限集合")
    @NotNull
    private List<String> permissionCodes;
    
}
